<?php
namespace haibao\cms\model\data;

Class ContentPhotoTags extends Base{
	/**
	 * 旧图片id
	 */
	public $PhotoId;
	
	/**
	 * 标签id
	 */
	public $ArticleClassId;
	
	/**
	 * 文章id
	 */
	public $DocumentId;
	
	/**
	 * 是否唯一标签
	 */
	public $IsTpl;
	
	/**
	 * 新图片id
	 */
	public $PicId;
	/**
	 * 属于 图片库标签id
	 */
	public $TagId;
	
	public function __construct(){
		parent::__construct();
		$this->intField('PhotoId', 'photo_id',true);
		$this->intField('ArticleClassId', 'articleclass_id',true);
		$this->intField('DocumentId', 'document_id',false,0);
		$this->intField('IsTpl', 'isTpl',true);
		$this->intField('PicId', 'pic_id',true);
		$this->intField('TagId', 'tag_id',true);
		$this->setTableName('content_photo_tags');
	}
}